package com.hqyj.ctxp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hqyj.ctxp.pojo.OrderItem;
import com.hqyj.ctxp.utils.PageBean;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface OrderItemMapper extends BaseMapper<OrderItem> {

    // 查询订单项目表，分页查询、模糊查询
    Page<OrderItem> selectOrderItemPage(@Param("page") Page page, @Param("keyword") String keyword, @Param("sort") String sort, @Param("direction") String direction);
}
